package com.etime.perfectschool.service;

import com.etime.perfectschool.pojo.FoodPhoto;
import com.etime.perfectschool.pojo.NewsPhoto;

import java.util.List;

public interface FoodPhotoService {
    //查询某条美食的全部照片
    List<FoodPhoto> getAllFoodPhotoByfoodId(int foodId);

    //添加某美食的图片
    int insertFoodPhoto(FoodPhoto foodPhoto);

    //删除美食所有图片
    int deleteFoodPhotoById(int foodId);

    //修改美食图片
    boolean updateFoodPhoto(FoodPhoto foodPhoto);
}
